{% load dajaxice_templatetags %}
<div id="lista_filtrar" >
<div class="row-fluid">
<div class="span5">
<h3>Campos de Búsqueda</h3>
				<div id="filtrar_form_div" >
				<form method="post" action="" id="filtrar_form" >
				            {% csrf_token %}
				            <table>
				                {{ form.as_table }}
				            </table>
				     <input type="submit" value="Buscar" />
				</form>
				</div>
				
				
				</div>
				<div class="span6">
				<div id="filtrar_lista">
				<h3>Resultados</h3>
				<table class="table table-hover">
					<thead>
						<th>Nombre</th>
						<th>Apellido</th>
						<th>País</th>
					</thead>
					<tbody>
						{% if expertos %}
				{% for object in expertos %}
					<tr class="accordion-toggle" onclick="location='{% url expertos:experto_ver object.id %}'">
						<td>{{ object.nombre }}</td>
						<td>{{ object.apellido }}</td>
						<td>{{ object.pais }}</td>
					</tr>

				
				{%endfor%}
				</tbody>
				</table>
				{%endif%}
				</div>
				</div>

</div>
</div>
	